From 888b967d6bb794486e50c21b11aa32a5d754de23 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 21 Feb 2019 01:09:09 -0500 Subject: [PATCH] Add more info to the migration guide Mention child metas of GtkAssistant and GtkNotebook. --- docs/reference/gtk/migrating-3to4.xml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml index af5a689a6d..8b79b7bca1 100644 --- a/docs/reference/gtk/migrating-3to4.xml +++ b/docs/reference/gtk/migrating-3to4.xml @@ -330,13 +330,18 @@
- Adapt to GtkStack API changes + Adapt to GtkStack, GtkAssistant and GtkNotebook API changes - The GtkStack child properties have been converted into child meta object. + The child properties of GtkStack, GtkAssistant and GtkNotebook have been + converted into child meta objects. Instead of gtk_container_child_set (stack, child, …), you can now use g_object_set (gtk_stack_get_page (stack, child), …). In .ui files, the GtkStackPage objects must be created explicitly, and take the child widget - as property. gtk4-builder-tool can help with this conversion. + as property. GtkNotebook and GtkAssistant are similar. + + + gtk4-builder-tool can help with this conversion, with the --3to4 option + of the simplify command.
-- 2.30.2